const MODULE_NAME = "vote_manage";

const vote_manage = {
  id: 3,
  pid: 0,
  name: "投票管理",
  path: "/vote_manage",
  redirect: "/vote/list",
  component: "BasicLayout",
  icon: "AppleOutlined",
  key: MODULE_NAME,
  hidden: false,
  children: [
    {
      id: 31,
      pid: 3,
      name: "投票列表",
      path: "/vote/list",
      redirect: "",
      component: "/vote/list/index",
      icon: "OrderedListOutlined",
      key: `${MODULE_NAME}_vote_list`,
      hidden: false,
      keepAlive: false,
      children: [
        {
          id: 3101,
          pid: 31,
          name: "添加投票",
          path: "/vote/add",
          redirect: "",
          component: "/vote/add/index",
          icon: "",
          key: `${MODULE_NAME}_vote_add`,
          hidden: true,
          keepAlive: false,
        },
      ],
    },
  ],
};

export default vote_manage;
